package com.smartHire.dao;

import com.smartHire.domain.Goods;
import com.smartHire.domain.User;

import java.util.List;

public interface GoodsDao {
    int inserGoods(Goods goods);
    int updateGoodsById(Goods goods);
    int updateGoodsName(Goods goods);
    int updateGoodsPrice(Goods goods);
    int updateGoodsPriture(Goods goods);
    int updateGoodsInventory(Goods goods);
    int updateGoodsAmount(Goods goods);
    int removeGoods(Goods goods);
    List<Goods> selectGoods();
    Goods selectGoodsByName(Goods goods);
    Goods selectGoodsByID(Goods goods);
    List<Goods> selectGoodsByPriceUp(Goods goods);
    List<Goods> selectGoodsByPriceDown(Goods goods);
    List<Goods> selectGoodsBySalesUp(Goods goods);
    List<Goods> selectGoodsBySalesDown(Goods goods);
    List<Goods> searchAllGoods(Goods goods);

    List<Goods> select22Goods();
    List<Goods> select5GoodsByShop(Goods goods);
    List<Goods> selectGoodsBySort(Goods goods);
    List<Goods> selectAllGoodsBySort(Goods goods);
    List<Goods> selectShopGoodsBySort(Goods goods);
    List<Goods> selectShopAllGoodsBySort(Goods goods);

    List<Goods> selectGoodsByAudit(Goods goods);
    List<Goods> selectGoodsByShop(Goods goods);
}
